<%--
  Created by IntelliJ IDEA.
  User: dell
  Date: 2018/4/28
  Time: 19:11
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>

<%
    if(session.getAttribute("username")==null){
        request.getRequestDispatcher("login.jsp");
    }
%>

<h1>用户管理系统</h1>

<%--<p>欢迎您！${sessionScope.name}</p>--%>
<%--<a href="userList.jsp">用户列表</a>--%>
<p>欢迎您！${username}</p>
<a href="userList.jsp">用户列表</a>
<a href="userAdd.jsp">添加用户</a>
<a href="logout.jsp">退出</a>
